const express = require('express');
const app = express();
const adminModel = require('./db/model/adminModel');
const md5=require('md5')
const addAdminRoute=require('./routes/addAdmin');
const adminListRoute=require('./routes/adminList')
require('./db')
app.use(express.json())
app.use(express.urlencoded())
app.use(addAdminRoute);
app.use(adminListRoute)
app.listen(8000, () => {
    console.log('服务器部署成功。http://127.0.0.1:8000');
})